home *** CD-ROM | disk | FTP | other *** search
- ;-------------------------routine begins--------------------------+
- ; ROUTINE FOR SENDING CR LF TO STANDARD OUTPUT
- ;
- ; FUNCTION: This routine sends a carriage return and then a linefeed
- ; through the standard output device.
- ; INPUT: None
- ; OUTPUT: ASCII codes 13 <CR> and ASCII 10 <lf> are sent to the
- ; standard output device.
- ; REGISTERS USED: No registers are modified
- ; SEGMENTS REFERENCED: None
- ; ROUTINES CALLED: stdout
- ; SPECIAL NOTES: None
- ;
- stdcrlf proc far
- push dx ; save registers
- ;
- mov al,13 ; ASCII carriage return
- call stdout ; send it out
- mov al,10 ; ASCII line feed
- call stdout ; send it out
- ;
- pop dx ; restore registers
- ret ; return
- stdcrlf endp
- ;-------------------------routine ends---------------------------+